﻿using System.Collections.Generic;
using System.Windows;

namespace CommonControlLibrary
{
    public interface IDesignWindow
    {
        /// <summary>
        /// Splash 
        /// </summary>
        ISplash GetSplash { get; set; }

        /// <summary>
        /// 获取当前主窗体
        /// </summary>
        /// <returns></returns>
        Window GetMainWindow();
        /// <summary>
        /// 获取样式资源
        /// </summary>
        /// <param name="resourceList"></param>
        void CreateResourceDictionary(out IEnumerable<ResourceDictionary> resourceList);
        /// <summary>
        /// 保存文档所做的修改
        /// </summary>
        void SaveDocumentContent();
    }
}
